export default defineAppConfig({
  pages: [
    "pages/mine/index",
    "pages/index/index",
    "pages/list/index",
    "pages/detail/index",
    "pages/publish/index",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "小店",
    navigationBarTextStyle: "black",
    navigationStyle: "custom", // 默认隐藏导航栏, 只保留右上角胶囊
  },
  tabBar: {
    custom: true,
    list: [
      {
        pagePath: "pages/index/index",
        text: "首页",
        selectedIconPath: "images/icon-home-active.png",
        iconPath: "images/icon-home.png",
      },
      {
        pagePath: "pages/publish/index",
        text: "发布",
        iconPath: "images/icon-middle.png",
      },
      {
        pagePath: "pages/mine/index",
        text: "我的",
        iconPath: "images/icon-mine.png",
        selectedIconPath: "images/icon-mine-active.png",
      },
    ],
  },
});
